package org.nanowrimo.ws.domain;

/**
 * <p>A summary of a given user or region including name, numeric Nanowrimo ID, and the current wordcount.</p>
 */
public class WordCountSummary {
  private int summaryID;
  private String name;
  private int wordcount;
  private int goal = 50000;

  public int getSummaryID() {
    return summaryID;
  }

  public void setSummaryID(int summaryID) {
    this.summaryID = summaryID;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getWordcount() {
    return wordcount;
  }

  public void setWordcount(int wordcount) {
    this.wordcount = wordcount;
  }

  public int getGoal() {
    return goal;
  }

  public void setGoal(int goal) {
    if (goal > 0) {
      this.goal = goal;
    }
  }
}
